.box(@width:1210px,@height:auto,@margin:0 auto,@backgorund:#fff){
    height: @height;
    width: @width;
    margin: @margin;
    background: @backgorund;
    overflow: hidden;
}
@color:#E4393C;
@border:1px solid #DDDDDD;
// 顶部菜单开始
#nav-top-bg{
    width: 100%;
    height: 30px;
    background: #F7F7F7;
    border-bottom: 1px solid #EEEEEE;
    .nav{
        width: 1210px;
        height: 30px;
        margin: 0 auto;
        line-height: 30px;
        &.nav-980{
            width: 990px;
        }
        .left{
            float: left;
            width: 200px;
            height: 30px;
            a{
                padding-left: 18px;
                position: relative;
                span{
                    display: block;
                    width: 13px;
                    height: 13px;
                    position: absolute;
                    top: 0px;
                    left: 0px;
                    background: url(../img/shang-ping/19.png);
                }
            }
        }
        .right{
            float: right;
            a{
                margin: 0 8px;
                position: relative;
                &.hui-yuan{
                        padding-left: 30px;
                        span{
                        display: block;
                        width: 24px;
                        height: 11px;
                        position: absolute;
                        left: 0px;
                        top: 2px;
                        background: url(../img/shang-ping/vip.png);
                    }
                }
                &.shou-ji{
                    padding-left: 20px;
                    padding-right: 10px;
                    span{
                        display: block;
                        width: 13px;
                        height: 22px;
                        position: absolute;
                        top: -3px;
                        left: 0px;
                        background: url(../img/shang-ping/18.png) no-repeat right -360px;
                    }
                    
                }
                &.ke-hu{
                    padding-right: 10px;
                }
                b{
                        display: block;
                        width: 7px;
                        height: 6px;
                        background: url(../img/shang-ping/18.png) no-repeat -95px -55px;
                        position: absolute;
                        top:6px;
                        right: -2px;
                    }
            }
            span{
                color: #DDDDDD;
            }
        }
    }
}
//顶部菜单结束

//LOGO搜索区开始
#logo{
    width: 1210px;
    height: 90px;
    margin: 0 auto;
    position: relative;
    .biao-zi{
        width: 270px;
        height: 90px;
        float: left;
        position: relative;
        .logo{
            display: block;
            width: 270px;
            height: 60px;
            background: url(../img/shang-ping/logo.png);
            position: absolute;
            top: 22px;
        }
    }
    .shou-suo{
        width: 500px;
        height: 60px;
        float: left;
        margin-left: 60px;
        position: relative;
        form{
            width: 500px;
            height: 30px;
            border: 3px solid #e4393c;
            position: absolute;
            top: 19px;
            left: 0px;
            .shu-ru{
                width: 416px;
                height: 30px;
                line-height: 30px;
                text-indent: 0.6em;
                float: left;
            }
            .ti-jiao{
                width: 84px;
                height: 30px;
                background: #E4393C;
                float: left;
                color: #FFFFFF;
                font-size: 15px;
                font-weight: bold;
                cursor: pointer;
            }
        }
        .tui-jian{
            position: absolute;
            top: 60px;
            left: 0px;
            span{
                color: #999999;
            }
            a{
                margin-right: 8px;
                color: #999999;
                &:hover{
                    color: #B51D1A;
                    text-decoration: underline;
                }
            }
        }
    }
    .gou-wu-che{
        z-index: 555;
        width: 380px;
        height: 90px;
        float: right;
        position: relative;
//      我的京东开始
        .my-jing-dong{
            width: 104px;
            height: 30px;
            position: absolute;
            top: 27px;
            left: 136px;
            .hide-box{
                position: absolute;
                right: -2px;
                top: 30px;
                width: 310px;
                height:auto;
                background: #fff;
                overflow: hidden;
                border: @border;
                display: none;
                box-shadow: 0 0 3px #999;
                a{
                    color: #005AA0;
                    &:hover{
                        color: @color;
                    }
                }
                .vip-name{
                    padding: 10px;
                    line-height: 25px;
                    height: auto;
                    overflow: hidden;
                    border-bottom: @border;
                    p{
                        float: left;
                        font-weight: bold;
                    }
                    a{
                        float: right;
                    }
                }
                .ding-dan{
                    line-height: 25px;
                    padding: 5px;
                    
                }
                .dai-chu-li{
                    height: auto;
                    ul{
                        width: 115px;
                        padding: 5px 10px 5px 10px;
                        border-right: @border;
                        float: left;
                        &.no-border{
                            border-right: none;
                        }
                        li{
                            a{
                                display: block;
                                padding: 5px 10px 5px 5px;
                                &:hover{
                                    background: #F1F1F1;
                                }
                            }
                        }
                    }
                }
                .zui-jing-liu-lan{
                    padding: 5px 10px 5px 10px;
                    float: left;
                    margin-top: 5px;
                    background: #F1F1F1;
                    width: 100%;
                    ul{
                        width: 100%;
                        float: left;
                        li{
                            float: left;
                            &.title{
                                width: 100%;
                                line-height: 25px;
                                a{
                                    float: right;
                                    margin-right: 25px;
                                }
                            }
                            img{
                                margin-right: 8px;
                                border: @border;
                            }
                        }
                    }
                }
            }
            .wo-de{
                display: block;
                width: 104px;
                position: relative;
                height: 30px;
                background: #F7F7F7;
                border: 1px solid #EFEFEF;
                line-height: 30px;
                text-align: center;
                z-index: 222;
                &.hover{
                    border-bottom:none;
                    background: #fff;
                    box-shadow: 0px -3px 2px #999;
                }
                span{
                    display: block;
                    width: 20px;
                    height: 17px;
                    background: url(../img/shang-ping/18.png) no-repeat -121px -30px;
                    position: absolute;
                    top: 5px;
                    left: 5px;
                }
                b{
                    border:5px solid transparent;
                    border-top-color: #CCCCCC;
                    position: absolute;
                    top: 13px;
                    right: 10px;
                }
                
            }
        }
//      我的京东结束
//      我的购物车开始
        .jie-shuan{
            z-index: 22222;
            width: 124px;
            height: 30px;
            position: absolute;
            top: 27px;
            right: 0px;
            .hide-box{
                background: #fff;
                width: 350px;
                border: @border;
                display: none;
                position: absolute;
                right: -2px;
                top: 30px;
                h4{
                    text-align: left;
                    line-height: 25px;
                    padding: 5px 10px 5px 10px;
                }
                .shang-ping{
                    height: auto;
                    overflow: hidden;
                    padding: 5px 10px 5px 10px;
                    margin-top: 5px;
                    &:hover{
                        background: #F1F1F1;
                    }
                    img{
                        border: @border;
                        float: left;
                    }
                    .wen-zi{
                        float: left;
                        width: 180px;
                        height: 52px;
                        overflow: hidden;
                        margin-left: 10px;
                    }
                    .right{
                        float: right;
                        strong{
                            display: block;
                            color: @color;
                        }
                        a{
                            float: right;
                            color: #005AA0;
                            margin-top: 3px;
                            &:hover{
                                color: @color;
                            }
                        }
                    }
                }
                .jia-ge{
                    padding: 5px 10px 5px 10px;
                    height: 73px;
                    background: #F1F1F1;
                    p{
                        text-align: right;
                        em{
                            color: @color;
                        }
                        strong{
                            font-size: 18px;
                            color: @color;
                        }
                    }
                    a{
                        display: block;
                        width: 120px;
                        height: 30px;
                        text-align: center;
                        line-height: 30px;
                        color: #fff;
                        border-radius: 5px;
                        float: right;
                        margin-top: 10px;
                        background: @color;
                        
                    }
                }
            }
            .gou-wu{
                display: block;
                width: 124px;
                height: 30px;
                position: relative;
                z-index: 5555;
                border: 1px solid #EFEFEF;
                background: #F7F7F7;
                text-align: center;
                line-height: 30px;
                text-indent: 0.6em;
                &.hover{
                    border-bottom: none;
                    background: #FFFFFF;
                }
                span{
                    display: block;
                    width: 20px;
                    height: 17px;
                    background: url(../img/shang-ping/18.png) no-repeat right -90px;
                    position: absolute;
                    top: 7px;
                    left: 5px;
                }
                b{
                    border:5px solid transparent;
                    border-left-color: #CCCCCC;
                    position: absolute;
                    top: 10px;
                    right:5px;
                }
                em{
                    display: block;
                    width: 18px;
                    height: 19px;
                    background: #de0000;
                    position: absolute;
                    top: -15px;
                    left: 15px;
                    color: #FFFFFF;
                    font-style: normal;
                    line-height: 19px;
                    border-top-right-radius: 80px;
                    border-top-left-radius: 80px;
                    border-bottom-right-radius: 80px;
                    text-indent: -0.1em;
                }
            }
        }
        
        
    }
    
}
//LOGO搜索区结束

//导航条开始
#nav{
    width: 1210px;
    height: 40px;
    margin: 0 auto 10px;
    background: url(../img/shang-ping/bg.png) repeat-x;
    .nav-left{
        z-index: 5555;
        width: 210px;
        height: 40px;
        float: left;
        background: #cd2a2c;
        line-height: 40px;
        text-indent: 2em;
        position: relative;
        //隐藏菜单
        .hide-box{
            background: #F1F1F1;
            border: 2px solid @color;
            border-top: none;
            margin-top: -2px;
            height: auto;
            width: 206px;
            z-index: 9999999;
            display: none;
            .hide-nav{
                z-index: 8888888;
                line-height: 25px;
                border-bottom: 1px solid #fff;
                .bg{
                    padding: 0 5px 0 5px;
                    position: relative;
                    a{
                    color: #999;
                    &:hover{
                        color: @color;
                        }
                    }
                    em{
                        font-family: simsun;
                        font-weight: bold;
                        font-size: 16px;
                        font-style: normal;
                        position: absolute;
                        right: 10px;
                        top: 1px;
                            
                    }
                    &.hover{
                        background: #FFFFFF;
                        z-index: 5555;
                        border-bottom: @border;
                        em{
                            display: none;
                        }
                    }
                }
                .er-ji-nav{
                    display: none;
                    width: 740px;
                    height: 431px;
                    position: absolute;
                    left: 207px;
                    top: 40px;
                    padding: 5px 10px 5px 20px;
                    background: #FFFFFF;
                    border: @border;
                    border-top: none;
                    dl{
                        
                        width: 477px;
                        text-indent: 0;
                        line-height: 30px;
                        border-bottom: @border;
                        height: auto;
                        overflow: hidden;
                        dt{
                            float: left;
                            color: @color;
                            margin-right: 5px;
                        }
                        dd{
                            float: left;
                            a{
                                text-indent: 0;
                                float: left;
                                color: #666666;
                                font-weight: normal;
                                border-left: @border;
                                line-height: 15px;
                                padding:0 10px 0 10px;     
                                margin-top: 7px;
                                &:hover{
                                    color: @color;
                                }
                            }
                        }
                    }
                }
            }
        }
        a{
            color: #FFFFFF;
            font-size: 14px;
            font-family: "微软雅黑";
            font-weight: bold;
            &:hover{
                text-decoration: underline;
            }
        }
        b{
            display: block;
            width: 20px;
            height: 20px;
            background: url(../img/shang-ping/18.png) no-repeat -65px 0px;
            position: absolute;
            right: 10px;
            top: 10px;
            cursor: pointer;
        }
    }
    .nav-right{
        width: 1000px;
        height: 40px;
        float: left;
        line-height: 40px;
        a{
            display: block;
            float: left;
            height: 40px;
            color: #FFFFFF;
            font-family: "微软雅黑";
            font-weight:bold; 
            padding: 0 20px;
            font-size:14px;
            &:hover{
                background: #a40000;
            }
        }
    }
}
//导航条结束






//底部配送开始
#pei-song-bg{
    width: 100%;
    height: 94px;
    background: #F5F5F5;
    .pei-song{
        margin: 0 auto;
        width: 1210px;
        a{
            display: block;
            float: left;
            margin-top: 20px;
            margin-left: 80px;
            &.no-margin{
                margin-left: 0;
            }
        }
    }
}

//底部配送结束
.shou-hou-bottom{
    width: 990px;
    height: 166px;
    margin: 0 auto;
    padding-top: 24px;
    border-bottom: 1px solid #EDEDED;
    .sou-hou
}

#sou-hou{
    width: 1210px;
    height: 166px;
    margin: 0 auto;
    padding-top: 24px;
    border-bottom: 1px solid #EDEDED;
    .sou-hou
}

//售后服务开始
.sou-hou{
    ul{
        width: 197px;
        height: 150px;
        overflow: hidden;
        float: left;
        &.di-tu{
            width: 220px;
            li{
                width: 190px;
                a{
                    float: right;
                }
            }
        }
        li{
            width: 70%;
            line-height: 19px;
            &.title{
                line-height: 40px;
                p{
                    font-size: 16px;
                    font-family: "微软雅黑";
                }
            }
        }
    }
}
//售后服务开始

//底部版权信息开始

#ban-quan{
    width: 1210px;
    height: 169px;
    margin: 0 auto;
    padding-top: 23px;
    .you-qing{
        width: 810px;
        margin: 0 auto 15px;
        text-align: center;
        a{
            margin: 0px 5px;
        }
    }
    .jing-ying{
        width: 856px;
        margin: 0 auto;
        text-align: center;
        line-height: 18px;
        &.ren-zheng{
            margin-top: 10px;
        }
        span{
            margin: 0 5px;
        }
        a{
            margin: 0 5px;
        }
    }
}
//底部版权信息结束
